﻿using SHZY.Common.Const;
using SHZY.Common.Contracts;
using SqlSugar;

namespace SHZY.Business.Entitys.WMS.Entity;

/// <summary>
/// 其他入库详情实体.
/// </summary>
[SugarTable("wms_busi_other_inbin_task_detail", "其他入库详情信息")]
[Tenant(ClaimConst.TENANTID)]
public class WmsBusiOtherInbinDetailEntity : CLDEntityBase
{
    /// <summary>
    /// 主表id.
    /// </summary>
    [SugarColumn(ColumnName = "F_TaskId", ColumnDescription = "主表id")]
    public string TaskId { get; set; }

    /// <summary>
    /// 物料id.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialId", ColumnDescription = "物料id")]
    public string MaterialId { get; set; }

    /// <summary>
    /// 物料code.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialCode", ColumnDescription = "物料code")]
    public string MaterialCode { get; set; }

    /// <summary>
    /// 物料名称.
    /// </summary>
    [SugarColumn(ColumnName = "F_MaterialName", ColumnDescription = "物料名称")]
    public string MaterialName { get; set; }

    /// <summary>
    /// 规格.
    /// </summary>
    [SugarColumn(ColumnName = "F_Specification", ColumnDescription = "规格")]
    public string Specification { get; set; }

    /// <summary>
    /// 入库数量.
    /// </summary>
    [SugarColumn(ColumnName = "F_Qty", ColumnDescription = "入库数量")]
    public decimal Qty { get; set; }

    /// <summary>
    /// 单位.
    /// </summary>
    [SugarColumn(ColumnName = "F_Unit", ColumnDescription = "单位")]
    public string Unit { get; set; }

    /// <summary>
    /// 批次号.
    /// </summary>
    [SugarColumn(ColumnName = "F_BatchNo", ColumnDescription = "批次号")]
    public string BatchNo { get; set; }

    /// <summary>
    /// 包装数.
    /// </summary>
    [SugarColumn(ColumnName = "F_Packages", ColumnDescription = "包装数")]
    public decimal Packages { get; set; }

}